package com.hotel.dao;

import com.hotel.entity.Loginlog;
import com.hotel.entity.LoginlogExample;


import java.util.List;

public interface loginlogDao {
    long countByExample(LoginlogExample example);

    int deleteByExample(LoginlogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Loginlog record);

    int insertSelective(Loginlog record);

    List<Loginlog> selectByExample(LoginlogExample example);

    Loginlog selectByPrimaryKey(Integer id);

    int updateByExampleSelective(Loginlog record,  LoginlogExample example);

    int updateByExample(Loginlog record, LoginlogExample example);

    int updateByPrimaryKeySelective(Loginlog record);

    int updateByPrimaryKey(Loginlog record);

    //分页模糊查询
    public List<Loginlog> pageFuzzyselect(String loginName, int start, int pageSize);

    //分页模糊查询总条数
    public int countFuzzyselect(String loginName);
}